<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core">
<f:view />
<f:loadBundle var="bundle" basename="message_bundle"></f:loadBundle>
<body>
	<h:form>
		<h:panelGroup>
			<p>
				<h:outputText value="#{bundle.username}" />
				<h:inputText value="#{registerMB.userName}" />
			</p>
			<P>
				<h:outputText value="#{bundle.password}" />
				<h:inputText value="#{registerMB.passWord}" />
			</P>
				<h:selectOneRadio id="radioList"  value="#{registerMB.gender}" valueChangeListener="#{registerMB.changeGenderListener}">
					<f:selectItem itemLabel="mail" itemValue="M" />
					<f:selectItem itemLabel="femail" itemValue="F"/>
				</h:selectOneRadio>
<!-- 				<p> -->
<!-- 					<h:outputLabel value="#{bundle.email}"/> -->
<!-- 					<h:inputText value="#{registerMB.email}"/> -->
<!-- 				</p> -->
		</h:panelGroup>
		<h:commandButton action="#{registerMB.genderGet()}" immediate="true" value="submit"></h:commandButton>
	</h:form>
</body>
</html>